package com.delivery.service;

import com.delivery.dto.DishDTO;
import com.delivery.dto.DishPageQueryDTO;
import com.delivery.entity.Dish;
import com.delivery.result.PageResult;
import com.delivery.vo.DishVO;

import java.util.List;

public interface DishService {
    void addDish(DishDTO dishDTO);

    PageResult paginateDishes(DishPageQueryDTO dto);

    void deleteBatchDishes(List<Long> ids);

    DishVO getDishById(Long id);

    void updateDish(DishDTO dishDTO);

    List<Dish> getDishesByCategoryId(Long categoryId);

    List<DishVO> queryByCategoryId(Integer categoryId);
}
